<?php //strip
/**
 * Interface for odWpPlugin admin forms.
 *
 * @package odWpPlugin
 * @author Ondrej Donek <ondrejd@gmail.com>
 */
interface odWpPlugin_Form_Interface
{
  /**
   * Set current form's values.
   *
   * @param array $aValues
   * @return void
   */
  public function setValues($aValues = array());
  
  /**
   * Get current form's values.
   * 
   * @return array
   */
  public function getValues();
  
  /**
   * Validates current form's values.
   *
   * @param array|null $aValues
   * @return boolean
   */
  public function validate($aValues = null);

  /**
   * Renders form into the string and returns it.
   *
   * @return string
   */
  public function render();
  
} // End of odWpPlugin_Form_Interface
